#!/bin/bash
old_version="1.9.9"
new_version="1.9.11"

# 遍历所有包含旧版本号的文件
for file in *"$old_version"*; do
    # 跳过不存在的匹配
    [ -e "$file" ] || continue
    new_file="${file//$old_version/$new_version}"
    echo "重命名: $file -> $new_file"
    mv "$file" "$new_file"
done
